package com.sqx.modules.ruleClassify.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.common.utils.Result;
import com.sqx.modules.ruleClassify.entity.RuleClassify;

import java.util.List;

public interface RuleClassifyService extends IService<RuleClassify> {


    Result addClassify(RuleClassify ruleClassify);

    List<RuleClassify> getClassifyList(RuleClassify classify);

    IPage<RuleClassify> adminGetClassifyList(Integer page, Integer limit, RuleClassify classify);


    IPage<RuleClassify> adminGetParentId(Integer page, Integer limit, RuleClassify classify);

    Result updateClassify(RuleClassify ruleClassify);

    Result deleteClassify(Long ruleClassifyId);

    List<RuleClassify> userGetClassify(RuleClassify classify);

}
